package com.xbfinance.manager.service;

import com.xbfinance.manager.pojo.po.P2pProjectOrder;
import com.xbfinance.manager.pojo.po.P2pUserOrder;

import java.util.List;

public interface OrderService {

    P2pProjectOrder selectOrderByOid(Integer oid);

    Integer deleteOrder(Integer oid);

    int deleteBatch(List<Integer> ids);

    List<P2pUserOrder> queryOrder(Integer page, Integer rows, Integer queryOid, Long queryProjectid);

    int queryCount(Integer queryOid, Long queryProjectid);

    int editOrder(Integer oid, P2pProjectOrder order);
}
